-- GENERATED SPELL FOR [Shango] --


function spell0_28297(pUnit, Event) --@Gore,n/a--
pUnit:FullCastSpellOnTarget(32019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28297', 15000, 1)
end

function Sorts_28297(pUnit, Event)
local choix_sorts_28297 = math.random(0, 0)
if choix_sorts_28297 == 0 then
pUnit:RegisterEvent('spell0_28297', 1, 1)
end
end

function mob28297_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28297', math.random(1500, 3000), 1)
end

function mob28297_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28297_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28297_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28297, 1, 'mob28297_Action')
RegisterUnitEvent(28297, 2, 'mob28297_Leave')
RegisterUnitEvent(28297, 3, 'mob28297_Kill')
RegisterUnitEvent(28297, 4, 'mob28297_Die')
